﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zhp.SqlSugar.Entity;

namespace Zhp.SqlSugar.Repository
{
    public interface IBaseRepository<TEntity> : ISugarRepository, ISimpleClient<TEntity> where TEntity : RootEntityReadOnly<TEntity>, new()
    {
        Task<bool> UpdateColumns(TEntity entity, string[] ignoreColumns, bool isLock = true);
    }
}
